home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Education
/
World of Education.iso
/
world_m
/
mercuryz.zip
/
CANCEL.EKA
< prev
next >
Wrap
Text File
|
1992-03-24
|
559b
|
15 lines
; Some extremely badly conditioned problems.
; These cannot be solved accurately without using higher precision
; than what Mercury uses.
; Mercury fails, but at least it doesn't give wrong answers.
; Reference: U. W. Kulisch, W. L. Miranker, SIAM Review (March 1986).
; The true answer is a = 12345678912345,
; but an enormous cancellation makes it difficult to calculate.
a = 12345678912345*9876543219876 - 12345678912345*9876543219875
; a very nearly singular linear system
64919121 *x - 159018721*y = 1
41869520.5*x - 102558961*y = 0